﻿using System;
namespace Chenxin.Lib.Hr.Entity
{
    /// <summary>
    /// 实体类Hr_VacationRecord 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class Hr_VacationRecord
    {
        public Hr_VacationRecord()
        { }
        #region Model
        private Guid _recordid;
        private Guid _userid;
        private string _username;
        private Guid _departid;
        private string _departname;
        private DateTime? _datetime;
        private DateTime? _starttime;
        private DateTime? _endtime;
        private decimal? _days;
        private string _vacationtype;
        private string _reason;
        /// <summary>
        /// 
        /// </summary>
        public Guid RecordId
        {
            set { _recordid = value; }
            get { return _recordid; }
        }
        /// <summary>
        /// 用户Id
        /// </summary>
        public Guid UserId
        {
            set { _userid = value; }
            get { return _userid; }
        }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName
        {
            set { _username = value; }
            get { return _username; }
        }
        /// <summary>
        /// 部门Id
        /// </summary>
        public Guid DepartId
        {
            set { _departid = value; }
            get { return _departid; }
        }
        /// <summary>
        /// 部门名
        /// </summary>
        public string DepartName
        {
            set { _departname = value; }
            get { return _departname; }
        }
        /// <summary>
        /// 申请时间
        /// </summary>
        public DateTime? DateTime
        {
            set { _datetime = value; }
            get { return _datetime; }
        }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? StartTime
        {
            set { _starttime = value; }
            get { return _starttime; }
        }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? EndTime
        {
            set { _endtime = value; }
            get { return _endtime; }
        }
        /// <summary>
        /// 请假天数(0.5为间隔)
        /// </summary>
        public decimal? Days
        {
            set { _days = value; }
            get { return _days; }
        }
        /// <summary>
        /// 请假类型
        /// </summary>
        public string VacationType
        {
            set { _vacationtype = value; }
            get { return _vacationtype; }
        }
        /// <summary>
        /// 请假理由
        /// </summary>
        public string Reason
        {
            set { _reason = value; }
            get { return _reason; }
        }
        #endregion Model

    }
}

